package com.nbsoft.qhrp.impPrj.web.model;

import org.apache.commons.beanutils.BeanUtils;

import com.nbsoft.qhrp.po.RpImpPrjDetail;
import com.nbsoft.qhrp.po.RpImpPrjInfo;

public class ImpPrjDetailModel {

    private java.lang.Long id;
    private java.lang.Long prjId;
    private java.lang.String prjName;
    private java.lang.Short rpYear;
    private java.lang.Short rpMonth;
    private java.lang.Double chaiqianTax;
    private java.lang.Double kanchaTax;
    private java.lang.Double shejiTax;
    private java.lang.Double dazhuangTax;
    private java.lang.Double shigongTax;
    private java.lang.Double zhuanghuangTax;
    private java.lang.Double touziTax;
    private java.lang.String note;
    
    public ImpPrjDetailModel(){}
    
    public ImpPrjDetailModel(RpImpPrjDetail b) {
    	try
		{ 
			BeanUtils.copyProperties(this, b);
			// this.setId(b.getPrjId());
		} catch (Exception e)
		{
			e.printStackTrace();
		}
    }
    
    public ImpPrjDetailModel(RpImpPrjInfo a) {
    	try
		{
			this.setPrjName(a.getPrjName());
			this.setId(a.getId());
		} catch (Exception e)
		{
			e.printStackTrace();
		}
    }
    
    public void copy(ImpPrjDetailModel model) {
    	try
		{
			String strName = this.getPrjName();
			Long lId = this.getId();
    		BeanUtils.copyProperties(this, model);
			this.setPrjName(strName);
			this.setId(lId);
		} catch (Exception e)
		{
			e.printStackTrace();
		}
    }
    
	/**
	 * @return Returns the chaiqianTax.
	 */
	public java.lang.Double getChaiqianTax() {
		return chaiqianTax;
	}
	/**
	 * @param chaiqianTax The chaiqianTax to set.
	 */
	public void setChaiqianTax(java.lang.Double chaiqianTax) {
		this.chaiqianTax = chaiqianTax;
	}
	/**
	 * @return Returns the dazhuangTax.
	 */
	public java.lang.Double getDazhuangTax() {
		return dazhuangTax;
	}
	/**
	 * @param dazhuangTax The dazhuangTax to set.
	 */
	public void setDazhuangTax(java.lang.Double dazhuangTax) {
		this.dazhuangTax = dazhuangTax;
	}
	/**
	 * @return Returns the id.
	 */
	public java.lang.Long getId() {
		return id;
	}
	/**
	 * @param id The id to set.
	 */
	public void setId(java.lang.Long id) {
		this.id = id;
	}
	/**
	 * @return Returns the kanchaTax.
	 */
	public java.lang.Double getKanchaTax() {
		return kanchaTax;
	}
	/**
	 * @param kanchaTax The kanchaTax to set.
	 */
	public void setKanchaTax(java.lang.Double kanchaTax) {
		this.kanchaTax = kanchaTax;
	}
	/**
	 * @return Returns the note.
	 */
	public java.lang.String getNote() {
		return note;
	}
	/**
	 * @param note The note to set.
	 */
	public void setNote(java.lang.String note) {
		this.note = note;
	}
	/**
	 * @return Returns the prjId.
	 */
	public java.lang.Long getPrjId() {
		return prjId;
	}
	/**
	 * @param prjId The prjId to set.
	 */
	public void setPrjId(java.lang.Long prjId) {
		this.prjId = prjId;
	}
	/**
	 * @return Returns the prjName.
	 */
	public java.lang.String getPrjName() {
		return prjName;
	}
	/**
	 * @param prjName The prjName to set.
	 */
	public void setPrjName(java.lang.String prjName) {
		this.prjName = prjName;
	}
	/**
	 * @return Returns the rpMonth.
	 */
	public java.lang.Short getRpMonth() {
		return rpMonth;
	}
	/**
	 * @param rpMonth The rpMonth to set.
	 */
	public void setRpMonth(java.lang.Short rpMonth) {
		this.rpMonth = rpMonth;
	}
	/**
	 * @return Returns the rpYear.
	 */
	public java.lang.Short getRpYear() {
		return rpYear;
	}
	/**
	 * @param rpYear The rpYear to set.
	 */
	public void setRpYear(java.lang.Short rpYear) {
		this.rpYear = rpYear;
	}
	/**
	 * @return Returns the shejiTax.
	 */
	public java.lang.Double getShejiTax() {
		return shejiTax;
	}
	/**
	 * @param shejiTax The shejiTax to set.
	 */
	public void setShejiTax(java.lang.Double shejiTax) {
		this.shejiTax = shejiTax;
	}
	/**
	 * @return Returns the shigongTax.
	 */
	public java.lang.Double getShigongTax() {
		return shigongTax;
	}
	/**
	 * @param shigongTax The shigongTax to set.
	 */
	public void setShigongTax(java.lang.Double shigongTax) {
		this.shigongTax = shigongTax;
	}
	/**
	 * @return Returns the touziTax.
	 */
	public java.lang.Double getTouziTax() {
		return touziTax;
	}
	/**
	 * @param touziTax The touziTax to set.
	 */
	public void setTouziTax(java.lang.Double touziTax) {
		this.touziTax = touziTax;
	}
	/**
	 * @return Returns the zhuanghuangTax.
	 */
	public java.lang.Double getZhuanghuangTax() {
		return zhuanghuangTax;
	}
	/**
	 * @param zhuanghuangTax The zhuanghuangTax to set.
	 */
	public void setZhuanghuangTax(java.lang.Double zhuanghuangTax) {
		this.zhuanghuangTax = zhuanghuangTax;
	}
}
